home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Tools / ntail / README < prev    next >
Encoding:
Text File  |  1990-09-19  |  1.9 KB  |  50 lines

  1. [ This is a copy of the program called xtail changed name to ntail for
  2. bizzare reasons. It has been changed around a little to work happily
  3. with PP but otherwise not changed much - JPO ]
  4.  
  5.  
  6. "ntail" watches the growth of files.  It is similar to "tail -f", but may
  7. watch many files at once.  The syntax is:
  8.  
  9.     ntail pathname ...
  10.     
  11. "ntail" will monitor all the specified files and display information added
  12. to them.  If you specify a directory name, "ntail" will watch all the
  13. files in that directory - including those created after "ntail" was
  14. started.  If you give "ntail" a name which doesn't exist, it will watch
  15. for the creation of the named entry.  My favorite usage is:
  16.  
  17.     ntail /usr/spool/uucp/.Log/*
  18.  
  19. "ntail" is distributed with a configuration for SCO XENIX.  It has also
  20. been tested on MIPS System V.  I took a shot at BSD portability.  The
  21. main difference is how the "directory" support library is accessed.
  22.  
  23. To build "ntail":
  24.  
  25.     - edit the definitions in "ntail.h"
  26.     - run a "make"
  27.  
  28. A version of "ntail" was originally posted in alt.sources a few months
  29. back.  There are several improvements between this version and the
  30. original:
  31.  
  32.        - the ability to watch directories
  33.        - the ability to watch entries which don't exist yet
  34.        - the recently changed files display (given upon SIGINT)
  35.        - performance improvements
  36.        - portability improvements
  37.  
  38. Many of these changes were suggested by David Dykstra <dwd@cbnewsc.ATT.COM>.
  39. The idea of keeping files open and use fstat() rather than stat() was
  40. suggested by changes by another poster (sorry, I lost the article so I
  41. can't provide credit).  However, that version kept *everything* open, and
  42. that just eats too many entries in the file table for me.  You can tweak
  43. the values in "ntail.h" to optimize the response/load characteristics of
  44. "ntail".
  45.  
  46. Chip Rosenthal
  47. <chip@vector.Dallas.TX.US>
  48.  
  49. @(#) README 2.1 89/07/26 19:16:34
  50.